package com.itshidu.jiaowu.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.itshidu.jiaowu.entity.Student;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class StudentVo extends Student {
    private String username;        //姓名
    private String sex;             //性别
    @DateTimeFormat(pattern = "yyyy/MM/dd " )
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy/MM/dd ")
    private Date birthday;          //出生日期
    private String idcCode;         //身份证号
    private String site;            //籍贯
    private String address;         //现住址
    private String phone;           //电话
    private String email;           //邮箱
    private String qq;              //qq
    private String wx;              //微信
    private int stage;              //课程阶段
    private String classesname;     //班级名字
}
